#include"Heap.h"

void test1()
{
	HP hp;
	int a[] = { 1,4,5,76,8,43 };
	for (size_t i = 0; i < sizeof(a) / sizeof(int); i++)
	{
		HPPush(&hp, a[i]);
	}

	int i = 0;
	while (!HPEmpty(&hp))
	{
		printf("%d",HPTop(&hp));
		HPPop(&hp);
	}
	printf("\n");
}


int main()
{
	test1();
	return 0;
}